﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityStandardAssets._2D;

[RequireComponent(typeof(MovingPlatform))]
public class HealPlatform : TickablePlatform
{
    public float tickRecovery = 1.0f;


    public override void OnTick(PlatformerCharacter2D character)
    {
        character.RecoverHealth(tickRecovery);
    }
}
